import csv
import sys
 
data = [
    ("And Now For Something Completely Different", 1971, "   \t Ian MacNau\a\b\t\v\r\fg\\hton   "),
    ("  ", 1975, "Terry Gilliam, Terry Jo'nes"),
    ("  \n\"Monty Python's Life Of Bria,n", 1979, "Terry Jones\n   "),
    ("Monty Python Live At The \"Hollyw  \n   ood Bowl", 1982, "Terry Hughes"),
    ("Monty Python's The Mea\n\tn\ing Of Life", 1983, "\"")
]
 
#writer = csv.writer(sys.stdout)
writer = csv.writer(open('TestCase0.csv', 'wb'))
 
for item in data:
    writer.writerow(item)